

#ifndef RemoteServer_H
#define RemoteServer_H



#include <string>
#include <algorithm>

#include "types.h"
#include "XmlRpc.h"


static const  char methodName[] = "MsgReceive";
class RemoteServer {
   
    
public :

    RemoteServer(const ServerInfo &aserverInfo);
    ~RemoteServer();
	std::string sendMessage(const std::string & message);

	ServerInfo getServerInfo() const;
	void setServerName(const std::string &name);
	void setStatus(const SERVER_STATUS & ss);
protected :
	
	ServerInfo serverInfo;
  
	XmlRpc::XmlRpcClient* xmlClient;
	
};

#endif
/*********************************************************************
	File Path	: DefaultComponent\DefaultConfig\RemoteServer.h
*********************************************************************/
